home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 4.iso / public / patch / README < prev    next >
Text File  |  1994-08-01  |  4KB  |  107 lines

  1.  
  2.                   toolbox/public/patch README
  3.  
  4.      This version of patch contains modifications made by the Free Software
  5.      Foundation, summarized in the file ChangeLog.  Primarily they are to
  6.      support the unified context diff format that GNU diff can produce, but
  7.      they also include some fixes for other bugs.  The FSF is distributing
  8.      this version of patch itself because, as of this writing, Larry has
  9.      not released a new version of patch since mid-1988.  I have heard that
  10.      he has been too busy working on other things, like Perl.
  11.    
  12.      The FSF changes to patch are not covered by the GNU General Public
  13.      License; they are distributed on the same terms as the rest of patch
  14.      (actually, on somewhat less restrictive terms).
  15.    
  16.      Please send bug reports for this version of patch to
  17.    
  18.                    bug-gnu-utils@prep.ai.mit.edu 
  19.    
  20.      as well as to Larry Wall 
  21.    
  22.                    lwall@netlabs.com
  23.  
  24.  
  25.                                    --djm@gnu.ai.mit.edu (David MacKenzie)
  26.  
  27.  
  28.    
  29.                   Patch Kit, Version 2.0
  30.    
  31.                   Copyright (c) 1988, Larry Wall
  32.    
  33.         You may copy the patch kit in whole or in part as long as you 
  34.         don't try to make money off it, or pretend that you wrote it.
  35.    --------------------------------------------------------------------------
  36.    
  37.            Please read all the directions below before you proceed 
  38.            any further, and then follow them carefully.  Failure to 
  39.            do so may void your warranty. :-)
  40.    
  41.                 After you have unpacked your kit, you should 
  42.                 have all the files listed in MANIFEST.
  43.    
  44.   Installation
  45.   
  46.   1)  Run Configure.  This will figure out various things about your system.
  47.       Some things Configure will figure out for itself, other things it will
  48.       ask you about.  It will then proceed to make config.h, config.sh, and
  49.       Makefile.
  50.   
  51.       You might possibly have to trim # comments from the front of Configure
  52.       if your sh doesn't handle them, but all other # comments will be taken
  53.       care of.
  54.   
  55.       If you don't have sh, you'll have to rip the prototype of config.h out
  56.       of Configure and generate the defines by hand.
  57.   
  58.   2)  Glance through config.h to make sure system dependencies are correct.
  59.       Most of them should have been taken care of by running the Configure 
  60.       script.
  61.   
  62.       If you have any additional changes to make to the C definitions, they
  63.       can be done in the Makefile, or in config.h.  Bear in mind that they 
  64.       may get undone next time you run Configure.
  65.   
  66.   3)  make
  67.   
  68.       This will attempt to make patch in the current directory.
  69.   
  70.   4)  make install
  71.   
  72.       This will put patch into a public directory (normally /usr/local/bin).
  73.       It will also try to put the man pages in a reasonable place.  It will 
  74.       not nroff the man page, however.
  75.   
  76.   5)  Read the manual entry before running patch.
  77.   
  78.   6)  IMPORTANT!  Help save the world!  Communicate any problems and
  79.       suggested patches to me, lwall@netlabs.com (Larry Wall),
  80.       so we can keep the world in sync.  If you have a problem, there's
  81.       someone else out there who either has had or will have the same 
  82.       problem.
  83.   
  84.       If possible, send in patches such that the patch program will apply 
  85.       them.  Context diffs are the best, then normal diffs.  Don't send ed 
  86.       scripts--I've probably changed my copy since the version you have.
  87.   
  88.       Watch for patch patches in net.sources.bugs.  Patches will generally 
  89.       be in a form usable by the patch program.  If you are just now 
  90.       bringing up patch and aren't sure how many patches there are, write 
  91.       to me and I'll send any you don't have.  Your current patch level is 
  92.       shown in patchlevel.h.
  93.  
  94.  
  95.    
  96.    
  97.    NEW FEATURES IN THIS RELEASE
  98.    
  99.    (Correct) support for 4.3bsd-style context diffs.
  100.    Files can be created from scratch.
  101.    You can specify a fuzz-factor for context matching.
  102.    You can force patch to ask no questions.
  103.    You can specify how much of the leading pathname to strip off filenames.
  104.    Uses a Configure script for greater portability.
  105.    You are now asked if you want to apply a reversed patch.
  106.    No limit (apart from memory) on the size of hunks.
  107.